/* 
购物车
*/

#cart .cartBox{
    width: 1000px;
    margin: 0 auto;
    font-size: 14px;
}

/* 上部分 */
#cart .cartBox .up{
    background-color: #fafafa;
    margin-top: 20px;
    padding-bottom: 20px;
}

.cartBox .up ul{
    width: 90%;
    margin: 0 auto;
    display: flex;
    padding-top: 8px;
    padding-bottom: 8px;
}

.cartBox .up li{
    width: 120px;
    display: flex;
    justify-content: center;
}

.cartBox .up li:nth-child(2){
    flex: 1;
}

/* 购物车商品 */
.cartBox .up .shop{
   background-color: #fff;
}

.cartBox .up .shop .chk{
    width: 16px;
    height: 16px;
    vertical-align: middle;

}

.cartBox .up .shop img{
    width: 80px;
    height: 80px;
}

.cartBox .up .shop .btnBox button{
    width: 24px;
    height: 24px;
    border: 1px solid #d7d7d7;
    font-size: 20px;
    color: #7f7f7f;

    cursor: pointer;
}

.cartBox .up .shop .btnBox div{
    width: 32px;
    height: 24px;
    box-sizing: border-box;
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;

}

.cartBox .up .shop .btnBox div input{
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
    width: 32px;
    height: 22px;
    border: none;
    text-align: center;
}

.cartBox .up .shop .caozuo{
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.cartBox .up .shop .caozuo p{
    margin-bottom: 5px;
}


/* 下部分 */
#cart .cartBox .down{
    height: 64px;

    background: linear-gradient(-89.8024291295833deg, rgba(238, 238, 238, 1) 0%, rgba(255, 255, 255, 1) 52%, rgba(238, 238, 238, 1) 100%);

    display: flex;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
}

.cartBox .down>p{
    color: #7f7f7f;
}

.cartBox .down>*{
    width: 120px;
    text-align: center;
}

.cartBox .down>p:nth-child(2){
    text-align: left;
}

.cartBox .down>p:nth-child(3){
    flex:1;
}

.cartBox .down>div{
    width: 240px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    /* margin-right: 32px; */

    font-size: 12px;
    color: #7f7f7f;
}

/* 价格部分 */
.cartBox .down>div p{
    width: 100%;
    display: flex;
    align-items: center;
}

.cartBox .down>div p span:nth-child(1){
    width: 160px;
    text-align: right;
}

.cartBox .down>div p span:nth-child(2){
    text-align: left;
    flex: 1;
}

/* 结算按钮 */
.cartBox .down button{
    width: 120px;
    height: 32px;
    color: #fff;
    background-color: #F90303;
    border-radius: 10px;
    margin-left: 20px;

    cursor: pointer;
}

